import 'package:get/get.dart';

import '../../../../../utils/string_util.dart';
import '../verify_code/verify_code_param.dart';

class VerifyCompleteState {
  // 验证码参数
  VerifyCodeParam param =
      VerifyCodeParam(account: null, platform: null, codeType: null);

  // 手机号区号
  RxString phoneCode = "+86".obs;

  // 将phoneCode去掉"+"号，前面加上"0"，补充为4位数
  String get formatAreaCode {
    return LxStringUtil.formatAreaCode(phoneCode.value);
  }
}
